import 'package:flutter_ahj_app/base/basewidget/model/BaseModel.dart';
import 'package:rxdart/rxdart.dart';
class UpdataModel extends BaseModel {
  BehaviorSubject<String> _behaviorSubject = BehaviorSubject();

  Stream<String> get dataStream => _behaviorSubject.stream;

  getData() {
    return _behaviorSubject.add("我是数据");
  }
}
